import { forwardRef, Module } from '@nestjs/common';

import { ProductModule } from '@/market/product/product.module';

import { DeliverModule } from '../deliver/deliver.module';
import { DeviceRoadModule } from '../device-road/device-road.module';
import { DeviceCargoLaneController } from './device-cargo-lane.controller';
import { Providers } from './device-cargo-lane.providers';
import { DeviceCargoLaneService } from './device-cargo-lane.service';

@Module({
  imports: [DeliverModule, DeviceRoadModule, forwardRef(() => ProductModule)],
  controllers: [DeviceCargoLaneController],
  providers: [...Providers, DeviceCargoLaneService],
  exports: [DeviceCargoLaneService],
})
export class DeviceCargoLaneModule {}
